package wlf.pojo;

import java.util.List;

public class Menu {
	private Integer id;
	private String name;
	private String url;
	private List<Menu> childs;
	
	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public List<Menu> getChilds() {
		return childs;
	}

	public void setChilds(List<Menu> childs) {
		this.childs = childs;
	}

	@Override
	public String toString() {
		return "Menu [id=" + id + ", name=" + name + ", childs=" + childs + "]";
	}	
	
}
